package com.sky.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel(value = "com-sky-domain-Feedback")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "Feedback")
public class Feedback {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    @TableField(value = "url")
    @ApiModelProperty(value = "用户头像")
    private String url;

    @TableField(value = "createByUser")
    @ApiModelProperty(value = "用户名")
    private String createByUser;

    @TableField(value = "createByName")
    @ApiModelProperty(value = "用户中文名称")
    private String createByName;

    @TableField(value = "status")
    @ApiModelProperty(value = "状态 1未处理 2已处理")
    private Integer status;

    @TableField(value = "modifyByUser")
    @ApiModelProperty(value = "处理用户名")
    private String modifyByUser;

    @TableField(value = "modifyByName")
    @ApiModelProperty(value = "处理用户中文名称")
    private String modifyByName;

    @TableField(value = "modifyUrl")
    @ApiModelProperty(value = "处理用户头像")
    private String modifyUrl;

    @TableField(value = "action")
    private Byte action;

    @TableField(value = "actionStamp")
    private Date actionStamp;

    @TableField(value = "createStamp")
    private Date createStamp;

    @TableField(value = "note")
    @ApiModelProperty(value = "反馈内容")
    private String note;

    @TableField(value = "remark")
    @ApiModelProperty(value = "处理备注")
    private String remark;

    public static final String COL_USER_NAME = "createByUser";
    public static final String COL_USER_ID = "id";
    public static final String COL_CREATE_TIME = "createStamp";
    public static final String COL_UPDATE_TIME = "actionStamp";
    public static final String COL_STATUS = "status";
}